package com.tenchael.iblog.utils;

import com.tenchael.iblog.exceptions.BussinessException;

/**
 * Created by tenchael on 26/12/2017.
 */
public class BussinessChecker {

	public static void check(boolean expression, int code, String message) {
		if (!expression) {
			throw new BussinessException(code, message);
		}
	}

}
